{extend name="Index/index" /}
{block name="main"}

    <form action="{:url('admin/Category/save')}" method="post">
        <span>添加分类:</span>
            <select name="class_name" style="width:20%;" class="form-control m-bot15">
                    {volist name="article_class" id="val"}
                    <option>{$val['class_name']}</option>
                    {/volist}
            </select>
        
        <span>分级:</span>
        <select name="class" style="width:20%;" class="form-control m-bot15">
            <option>同级</option>
            <option>子级</option>            
        </select>

        <p>
            <span>分类名:</span>
            <input type="text" name="add_name" />
        </p>
        
        <button type="submit" class="btn btn-success">添加</button>
    </form>
{/block}